﻿using Acb.Core.Domain.Entities;
using Acb.Core.Serialize;
using System;

namespace OAuth.Server.Domain.Entities
{
    /// <inheritdoc />
    /// <summary> 授权表 </summary>
    [Naming("t_grant")]
    public class TGrant : BaseEntity<string>
    {
        public string Data { get; set; }
        public string Type { get; set; }
        public string SubjectId { get; set; }
        public string ClientId { get; set; }
        public DateTime CreateTime { get; set; }
        public DateTime? ExpiredTime { get; set; }
    }
}
